package com.atguigu.day18.generic03;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/22 14:28
 * @注释
 */
public class Student<S> {
    String name;
    S score;

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", score=" + score +
                '}';
    }

    public Student(String name, S score) {
        this.name = name;
        this.score = score;
    }
}
